#!/bin/bash

system_url=/etc/profile.d/
res_url=/home/sietium/env/reboot_num.txt
file=$(cd "$(dirname "$0")";pwd)
sudo cp ${file}/reboot2.sh ${system_url}
echo  >  ${res_url}
shutdown -r now  
